package com.qzimp.fujiancuo.mapper;

import com.mybatisflex.core.BaseMapper;
import com.qzimp.fujiancuo.entity.vo.EentCuoVO;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface EvenCuoMapper extends BaseMapper<EentCuoVO> {

    @Select("select e.name as ename,e.description as des,e.happen_time as happentime,c.* from tb_event e left join tb_cuo c on e.cuo_id = c.id")
    List<EentCuoVO> selectEventCuo();
}
